package com.eascs.ticket.configuration.entity;

import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.eascs.ticket.common.entity.UpdateEntity;

/**
 * The persistent class for the user_auto_assign database table.
 * 
 */
@Entity
@Table(name = "user_auto_assign")
@NamedQuery(name = "UserAutoAssign.findAll", query = "SELECT u FROM UserAutoAssign u")
public class UserAutoAssignUpdate extends UpdateEntity {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	@Column(name = "assign_from")
	private String assignFrom;

	@Column(name = "assign_to")
	private String assignTo;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "date_from")
	private Date dateFrom;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "date_to")
	private Date dateTo;

	private String status;

	public UserAutoAssignUpdate() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAssignTo() {
		return this.assignTo;
	}

	public void setAssignTo(String assignTo) {
		this.assignTo = assignTo;
	}

	public Date getDateFrom() {
		return this.dateFrom;
	}

	public void setDateFrom(Date dateFrom) {
		this.dateFrom = dateFrom;
	}

	public Date getDateTo() {
		return this.dateTo;
	}

	public void setDateTo(Date dateTo) {
		this.dateTo = dateTo;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getAssignFrom() {
		return assignFrom;
	}

	public void setAssignFrom(String assignFrom) {
		this.assignFrom = assignFrom;
	}

}